package com.health.mapper;

import com.health.entity.UsersAccount;
import com.health.entity.UsersTrade;
import com.health.vo.TradeAndAccountVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface UsersTradeMapper {
    List<TradeAndAccountVO> list(Long userid);


    Integer update(UsersTrade u);

    void save(UsersTrade u);

    UsersTrade getByPrepayId(String outTradeNo);

    List<UsersTrade> getUsersTradeAll(Long userid);
    
}
